package org.jeecg.modules.hc.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 微信支付
 * @Author: jeecg-boot
 * @Date: 2023-01-07
 * @Version: V1.0
 */
@Data
@TableName("hc_wx_pay")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "hc_wx_pay对象", description = "微信支付")
public class HcWxPay implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 用户ID
     */
    @Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private java.lang.String userId;
    /**
     * 应用ID
     */
    @Excel(name = "应用ID", width = 15)
    @ApiModelProperty(value = "应用ID")
    private java.lang.String appid;
    /**
     * 直连商户号
     */
    @Excel(name = "直连商户号", width = 15)
    @ApiModelProperty(value = "直连商户号")
    private java.lang.String mchid;
    /**
     * 商品描述
     */
    @Excel(name = "商品描述", width = 15)
    @ApiModelProperty(value = "商品描述")
    private java.lang.String description;
    /**
     * 商户订单号
     */
    @Excel(name = "商户订单号", width = 15)
    @ApiModelProperty(value = "商户订单号")
    private java.lang.String outTradeNo;
    /**
     * 通知地址
     */
    @Excel(name = "通知地址", width = 15)
    @ApiModelProperty(value = "通知地址")
    private java.lang.String notifyUrl;
    /**
     * 订单总金额，单位为分
     */
    @Excel(name = "订单总金额，单位为分", width = 15)
    @ApiModelProperty(value = "订单总金额，单位为分")
    private java.lang.Integer amountTotal;
    /**
     * 货币类型
     */
    @Excel(name = "货币类型", width = 15)
    @ApiModelProperty(value = "货币类型")
    private java.lang.String amountCurrency;
    /**
     * H5_URL
     */
    @Excel(name = "H5_URL", width = 15)
    @ApiModelProperty(value = "H5_URL")
    private java.lang.String h5Url;
    /**
     * 统一下单接口返回的 PREPAY_ID 参数值
     */
    @Excel(name = "统一下单接口返回的 PREPAY_ID 参数值", width = 15)
    @ApiModelProperty(value = "统一下单接口返回的 PREPAY_ID 参数值")
    private java.lang.String packageValue;
    /**
     * 签名算法
     */
    @Excel(name = "签名算法", width = 15)
    @ApiModelProperty(value = "签名算法")
    private java.lang.String signType;
    /**
     * 签名
     */
    @Excel(name = "签名", width = 15)
    @ApiModelProperty(value = "签名")
    private java.lang.String paySign;
    /**
     * 随机字符串
     */
    @Excel(name = "随机字符串", width = 15)
    @ApiModelProperty(value = "随机字符串")
    private java.lang.String nonceStr;
    /**
     * 时间戳
     */
    @Excel(name = "时间戳", width = 15)
    @ApiModelProperty(value = "时间戳")
    private java.lang.String timeStamp;
    /**
     * 交易状态
     */
    @Excel(name = "交易状态", width = 15)
    @ApiModelProperty(value = "交易状态")
    private java.lang.String tradeState;
    /**
     * 交易状态描述
     */
    @Excel(name = "交易状态描述 ", width = 15)
    @ApiModelProperty(value = "交易状态描述 ")
    private java.lang.String tradeStateDesc;
    /**
     * 支付完成时间
     */
    @Excel(name = "支付完成时间", width = 15)
    @ApiModelProperty(value = "支付完成时间")
    private Date successTime;

    /**
     * 支付二维码
     */
    @Excel(name = "支付二维码链接", width = 15)
    @ApiModelProperty(value = "支付二维码链接")
    private String qrCode;
}
